import React from 'react'

const styleCss = {
    backgroundColor: '#302F34',
    color: 'white',
    width: '80px',
    height: '38px',
    borderRadius: '12px',
    border: 'none',
    margin:'0 2px',
};


function Btn({val = '按钮', style = {},onClick=()=>{}}) {

    return (
        <button style={{...styleCss, ...style}} onClick={onClick}>{val}</button>
    );
}

export default Btn
